//
//  LightTabViewController.m
//  Blue-toothLight
//
//  Created by mazg on 15/6/20.
//  Copyright (c) 2015年 mazg. All rights reserved.
//

#import "LightTabViewController.h"

@interface LightTabViewController ()

@end

@implementation LightTabViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UITabBar *tabBar=self.tabBar;
    tabBar.barStyle=UIBarStyleBlack;
    
    UITabBarItem *item1=[tabBar.items objectAtIndex:0];
    UITabBarItem *item2=[tabBar.items objectAtIndex:1];
    UITabBarItem *item3=[tabBar.items objectAtIndex:2];
    UITabBarItem *item4=[tabBar.items objectAtIndex:3];
    
    [item1 setTitle:@"颜色"];
    [item1 setImage:[UIImage imageNamed:@"tabbar1.png"]];
    
    [item2 setTitle:@"场景"];
    [item2 setImage:[UIImage imageNamed:@"tabbar2.png"]];
    
    [item3 setTitle:@"音乐"];
    [item3 setImage:[UIImage imageNamed:@"tabbar3.png"]];
    
    [item4 setTitle:@"定时"];
    [item4 setImage:[UIImage imageNamed:@"tabbar4.png"]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
